<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/easyui/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/easyui/themes/icon.css">
<script type="text/javascript" src="<%=basePath%>js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/easyui/jquery.edatagrid.js"></script>
<script type="text/javascript">
	//格式化时间 将毫秒转化为 时间
	function dateFormat(time){
		if(time!=null&&time!=''){
			var date = new Date(time);
			var y = date.getFullYear();
			var m = date.getMonth()+1;
			var d = date.getDate();
			var h = date.getHours();       //获取当前小时数(0-23)
			var mi = date.getMinutes();     //获取当前分钟数(0-59)
			var s = date.getSeconds();     //获取当前秒数(0-59)
			
			
			if(m.toString().length==1){
				m = "0"+m;
			}
			if(d.toString().length==1){
				d="0"+d;
			}
			if(h.toString().length==1){
				h="0"+h;
			}
			if(mi.toString().length==1){
				mi="0"+mi;
			}
			if(s.toString().length==1){
				s="0"+s;
			}
			
			return y+'-'+m+'-'+d+' '+h+':'+mi+':'+s;
		}else{
			return null;
		}
	}
</script>

</head>
<body>

</body>
</html>